package org.jeecg.modules.basic.exitstock.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.basic.exitstock.entity.LwgyMaterialExitstock;
import org.jeecg.modules.basic.exitstock.mapper.LwgyMaterialExitstockMapper;
import org.jeecg.modules.basic.exitstock.service.ILwgyMaterialExitstockService;
import org.jeecg.modules.basic.plan.entity.LwgyMaterialPlanapplications;
import org.jeecg.modules.basic.plan.mapper.LwgyMaterialPlanapplicationsMapper;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * @Description: 物料管理退库表
 * @Author: jeecg-boot
 * @Date:   2021-04-06
 * @Version: V1.0
 */
@Service
public class LwgyMaterialExitstockServiceImpl extends ServiceImpl<LwgyMaterialExitstockMapper, LwgyMaterialExitstock> implements ILwgyMaterialExitstockService {

    @Resource
    private LwgyMaterialExitstockMapper lwgyMaterialExitstockMapper;


    @Override
    public IPage<LwgyMaterialExitstock> queryPageCustomer(Page<LwgyMaterialExitstock> page, QueryWrapper<LwgyMaterialExitstock> queryWrapper, String id) {
        return page.setRecords(lwgyMaterialExitstockMapper.queryPageListCustoms(page,queryWrapper,id));
    }

}
